// const defaultState = {
//     focused: false
// }
// export default(state=defaultState, action) => {
//     if(action.type==='Focus'){
//         return {focused: true}
//     }
//     if(action.type==='Blur'){
//         return {focused: false}
//     }
//     return state
// }
import { combineReducers } from 'redux'
import headerReducer from '../common/header/store/reducer'
import { TopicReducer } from '../pages/home/store/reducer';
import {DetailReducer} from '../pages/detail/store/reducers'
import { LoginReducer } from '../pages/login/store/reducer';

export default combineReducers({
    header: headerReducer,
    home: TopicReducer,
    detail: DetailReducer,
    login: LoginReducer
})
